<html>
<head>
    <include file="Common/top"/>
    <include file="Common/import_plugins"/>
    <style>
        .goods_list .goods {
            margin: 5px;
            border: solid 1px #00a0e9;
            border-radius: 2px;
            height: 125px;
        }

        .goods_list .goods .thumb img {
            height: 100%;
            width: 100%;
        }

        .goods_list .goods .thumb {
            height: 100px;
            border-bottom: solid 1px #01AAED;
        }

        .goods_list .goods .title {
            text-align: center;
            line-height: 20px;
            overflow: hidden;
            height: 20px;
        }

        .goods_list .goods span {
            font-size: 9px;
        }
    </style>
</head>
<body>
<include file="Common/nav_menu"/>
<div class="layui-row goods_list">
    <volist name="list" id="vo">
        <div class="layui-col-xs6">
            <div class="goods">
                <php>
                    switch($vo['model']){
                    case 'zhiyoubao':
                    $url = U('Zhiyoubao/scenicSpotInfo',array('id'=>$vo['id']));
                    break;
                    case 'piaofutong':
                    $url = U('Piaofutong/scenicSpotInfo',array('uuid'=>$vo['uuid']));
                    break;
                    };
                </php>
                <a href="{$url}">
                    <div class="thumb">
                        <img src="{:thumb($vo['thumb'])}" alt="">
                    </div>
                    <div class="title">
                        [{$vo.model}]{$vo.name} <span>{:getStatus($vo['is_real'],'<i style="color: green" class="layui-icon">&#xe612;</i>','')}</span>
                    </div>
                </a>
            </div>
        </div>
    </volist>
</div>

<include file="Common/nav_foot"/>
<script src="/Public/Home/js/common.js"></script>
<script src="/Public/Home/js/index.js"></script>
</body>
</html>